import request from '@/utils/request'
import defaultSettings from '@/settings'

export const apiUrlConfig = {
    queryUrl: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/informationInquiry/ClearingAccountInformationInquiryQuery/search`,
}

// 清算账户信息查询申请查询页面明细弹框中的列表数据接口
export const detailsearch = {
    queryUrl: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/informationInquiry/ClearingAccountInformationInquiryQuery/detailsearch`,
}

export function detail(params) {
    return request({
        url: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/informationInquiry/ClearingAccountInformationInquiryQuery/detail`,
        method: 'get',
        params
    })
}

export function tabledetail(params) {
    return request({
        url: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/informationInquiry/ClearingAccountInformationInquiryQuery/tabledetail`,
        method: 'get',
        params
    })
}